package com.xhl.robot.listeners;

import cc.moecraft.icq.event.EventHandler;
import cc.moecraft.icq.event.IcqListener;
import cc.moecraft.icq.event.events.message.EventGroupMessage;

public class HYJLListener extends IcqListener {
    @EventHandler
    public void onGroupMessageEvent(EventGroupMessage event) {
        String message = event.getMessage();

        if (message.equals("你是谁?")) {
            event.respond("我是机器人哇!");
        }
    }
}
